cmake_minimum_required(VERSION 3.0.2)
project(serial_port_gps)
set(CMAKE_CXX_STANDARD 11)
find_package(catkin REQUIRED COMPONENTS
  custom_msg
  commons
  roscpp
  serial
  std_msgs
)

# glog
# find_package(glog REQUIRED)
# debug
if (CMAKE_BUILD_TYPE STREQUAL Debug)
    add_definitions(-D_DEBUG)
endif()

# ros
catkin_package()
include_directories(
  ${catkin_INCLUDE_DIRS}
)

add_executable(serial_gps src/serial_gps.cpp)
target_link_libraries(serial_gps ${catkin_LIBRARIES} )

# add_executable(listener_gps src/listener_gps.cpp)
# target_link_libraries(listener_gps ${catkin_LIBRARIES} )

